package models;

import play.*;
import play.data.validation.Email;
import play.data.validation.Min;
import play.data.validation.Required;
import play.db.jpa.*;

import javax.persistence.*;

import java.util.*;

@Entity
@Inheritance(strategy = InheritanceType.JOINED)  
public class Pessoa extends Model {
	
	@Required
	public String nome;
	
	
	
	public String login;
	
	
	public String senha;
	

	@Override
	public String toString() {
		return "Pessoa [nome=" + nome + ", login=" + login + ", senha=" + senha
				+ "]";
	}
	
	
	
}
